﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Artech.Core.Configuration
{
    /// <summary>
    /// The base class of all context provider based <see cref="ConfigurationElement" />.
    /// </summary>
    public class ContextProviderDataBase: ProviderDataBase<IContextProvider>
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ContextProviderDataBase"/> class.
        /// </summary>
        public ContextProviderDataBase() { }

        /// <summary>
        /// Initializes a new instance of the <see cref="ContextProviderDataBase"/> class.
        /// </summary>
        /// <param name="type">The type.</param>
        public ContextProviderDataBase(Type type)
            : base(null, type) { }

        /// <summary>
        /// Initializes a new instance of the <see cref="ContextProviderDataBase"/> class.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <param name="type">The type.</param>
        public ContextProviderDataBase(string name, Type type)
            : base(name, type) { }
    }
}
